using System.Collections.Generic;

namespace DataScripter.Scripting.Compare.DataTables.Structure
{
    public class DataTableStructureComparisonResult
    {
        public DataTableStructureComparisonResult()
        {
            ColumnsToInsert = new List<string>();
            ColumnsToRemove = new List<string>();
            ColumnsToUpdate = new Dictionary<string, DataColumnStructureComparisonResult>();
        }

        public List<string> ColumnsToInsert { get; private set; }
        public List<string> ColumnsToRemove { get; private set; }

        public Dictionary<string, DataColumnStructureComparisonResult> ColumnsToUpdate { get; private set; }

        public bool IsSame()
        {
            return ColumnsToInsert.Count == 0 && ColumnsToUpdate.Count == 0 && ColumnsToRemove.Count == 0;
        }

    }
}